package com.cpit.platform.service;

import com.cpit.platform.common.entity.Result;
import com.cpit.platform.common.entity.TableDataQueryCondition;
import com.cpit.platform.common.entity.TableJsonData;
import com.cpit.platform.dto.LogModule;
import com.cpit.platform.dto.LogOperItem;
import com.cpit.platform.dto.OperLog;

import java.util.List;

/**
 * @author Yanyongqing
 * @since 2018/3/20.
 */
public interface OperLogService extends EntityService<OperLog> {
    Result<OperLog> writeLog(OperLog operLog);
    TableJsonData queryLogByCondition(TableDataQueryCondition cond);
    List<LogModule> getAllModules();
    List<LogOperItem> getAllOperItem();
}
